<?php
/**
 * Created by PhpStorm.
 * User: d
 * Date: 2018/5/22
 * Time: 16:38
 */
/**
 * p打印函数
 */
function p($con)
{
    echo "<pre style='padding: 15px;background: #2E3E4E;border-radius: 46px;color: white;font-size: 18px;font-weight: 700'>";
    if (is_null($con)) {
        var_dump($con);
    } elseif (is_bool($con)) {
        var_dump($con);
    } else {
        print_r($con);
    }
    echo '</pre>';
}